package com.example.demo.game;

import lombok.Getter;
import lombok.Setter;

import java.awt.*;
import java.util.LinkedList;

@Setter
@Getter
public class GomokuState {       //游戏的核心数据
    private  int[][] board; //0:空 1:黑 2:白
    private boolean player_black;    //ture=black回合
    private boolean GameOver;

    public GomokuState(int[][] board, boolean player_black, boolean gameOver) {
        this.board = board;
        this.player_black = player_black;
        this.GameOver = gameOver;

    }
}